[INFO] cloning repository https://github.com/TheHitchhiker/encryption
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheHitchhiker/encryption" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheHitchhiker%2Fencryption", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheHitchhiker%2Fencryption'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 499610c54cf9c8f57b5254c2a8d5bac7fd1e887e
[INFO] checking TheHitchhiker/encryption against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheHitchhiker%2Fencryption" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TheHitchhiker/encryption on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/TheHitchhiker/encryption
[INFO] finished tweaking git repo https://github.com/TheHitchhiker/encryption
[INFO] tweaked toml for git repo https://github.com/TheHitchhiker/encryption written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/TheHitchhiker/encryption already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 8ce44c2b6bf00a42452f0d998615e33f5998e507bdc45a988a16190dcf3a4e48
[INFO] running `Command { std: "docker" "start" "-a" "8ce44c2b6bf00a42452f0d998615e33f5998e507bdc45a988a16190dcf3a4e48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ce44c2b6bf00a42452f0d998615e33f5998e507bdc45a988a16190dcf3a4e48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ce44c2b6bf00a42452f0d998615e33f5998e507bdc45a988a16190dcf3a4e48", kill_on_drop: false }`
[INFO] [stdout] 8ce44c2b6bf00a42452f0d998615e33f5998e507bdc45a988a16190dcf3a4e48
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7afd9af62fdca44d76a1103cda358ae5c5b6b58dfb5105d374cdc8a85537b76c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7afd9af62fdca44d76a1103cda358ae5c5b6b58dfb5105d374cdc8a85537b76c", kill_on_drop: false }`
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking encrypt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `OsRng`, `Rng`
[INFO] [stdout]   --> src/main.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::{OsRng, Rng};
[INFO] [stdout]    |            ^^^^^  ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OsRng`, `Rng`
[INFO] [stdout]   --> src/main.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::{OsRng, Rng};
[INFO] [stdout]    |            ^^^^^  ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plaintext`
[INFO] [stdout]   --> src/main.rs:71:6
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let plaintext = decrypt_aes(&ciphertext[..], &key, &nonce).ok().unwrap();
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plaintext`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]   --> src/main.rs:72:6
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let hash = hmac.input(&ciphertext);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plaintext`
[INFO] [stdout]   --> src/main.rs:71:6
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let plaintext = decrypt_aes(&ciphertext[..], &key, &nonce).ok().unwrap();
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plaintext`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut nonce = "c1b793ec2f95083ace2442bf458e7ba8".from_hex().unwrap();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]   --> src/main.rs:72:6
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let hash = hmac.input(&ciphertext);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Operation` should have a snake case name
[INFO] [stdout]   --> src/main.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut Operation = aes::cbc_decryptor(
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operation`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/main.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut buffer = [0, 1024];
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(overflowing_literals)]` on by default
[INFO] [stdout]    = note: the literal `1024` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Operation` should have a snake case name
[INFO] [stdout]   --> src/main.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut Operation = aes::cbc_encryptor(
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/main.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut buffer = [0, 1024];
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the literal `1024` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `encrypt`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut nonce = "c1b793ec2f95083ace2442bf458e7ba8".from_hex().unwrap();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Operation` should have a snake case name
[INFO] [stdout]   --> src/main.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut Operation = aes::cbc_decryptor(
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operation`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/main.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut buffer = [0, 1024];
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(overflowing_literals)]` on by default
[INFO] [stdout]    = note: the literal `1024` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Operation` should have a snake case name
[INFO] [stdout]   --> src/main.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut Operation = aes::cbc_encryptor(
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/main.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut buffer = [0, 1024];
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the literal `1024` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "7afd9af62fdca44d76a1103cda358ae5c5b6b58dfb5105d374cdc8a85537b76c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7afd9af62fdca44d76a1103cda358ae5c5b6b58dfb5105d374cdc8a85537b76c", kill_on_drop: false }`
[INFO] [stdout] 7afd9af62fdca44d76a1103cda358ae5c5b6b58dfb5105d374cdc8a85537b76c
